package com.school.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.school.entity.HljtClassnotify;

public interface HljtClassnotifyService {
	/**
	 * 通过班级id和type查找班级通知
	 * @param classId
	 * @param type
	 * @return
	 */
	public List<HljtClassnotify> findNotity(Integer classId,String type);
	
	
	/**
	 * 通过班级id和type查找班级通知集合
	 * @param classId
	 * @param type
	 * @return
	 */
	public List<HljtClassnotify> findNotityList(Integer classId,String type);
	
	/**
	 * 通过id删除通知
	 * @param id
	 * @return
	 */
	public Integer deletewisdom(Integer id);
	
	/**
	 * 天机通知
	 * @return
	 */
	public Integer addwisdom(HljtClassnotify Classnotify);
	/**
	 * 修改通知
	 * @param Classnotify
	 * @return
	 */
	public Integer updatewisdom(HljtClassnotify Classnotify);
	/**
	 * 模糊分页查询
	 * @param pageSize
	 * @param pageIndex
	 * @param Classimage
	 * @return
	 */
	public List<HljtClassnotify> findListImagelikepage(String title,Integer pageSize,Integer  pageIndex,Integer classid,String type);
	/**
	 * 模糊查询
	 * @return
	 */
	public List<HljtClassnotify> findclassimage(String title,Integer classid,String type);
	/**
	 * 通过班级id和type查找班级通知
	 * @param classId
	 * @param type
	 * @return
	 */
	public List<HljtClassnotify> findNotityLists(Integer classId, String type, Integer pageSize, Integer pageIndex);
}
